<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ include file="/WEB-INF/pages/share/taglib.jsp"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>查看对方(收件人)阅读状态</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link href="<%=basePath+Util.SKIN%>/css/right.css" type="text/css" rel="stylesheet">
	<script type="text/javascript" src="<%=basePath%>/js/jquery-1.7.1.min.js"></script>
	<script src="<%=basePath%>/js/table.js" type="text/javascript"></script>
	<script src="<%=basePath%>/js/checkbox1.js" type="text/javascript"></script>
	<script src="<%=basePath%>/js/oa.js" type="text/javascript"></script>
	<script type="text/javascript" src="<%=basePath%>/js/dbdialog/lhgdialog.min.js<%=Util.LHGDIALOG%>"></script>
	
  </head>
  <script type="text/javascript">
		$(function() {
			
			$("#back").click(function () {
				window.location.href='<%=basePath%>/oa/mail_mailList.action?num=${str_num}&size=${str_size}&keyWord=${keyWord}&beginTime=${beginTime }&endTime=${endTime }';
			});
		});
		
	</script>
  <body>
  	<div class="body-box">
  		<div class="map">
			<div class="map_con">
				您当前的位置：协同办公 &gt; 邮件管理 &gt; 已发送&gt; 收件人阅读状态查看
			</div>
		</div>
		<div id="container">
		    <table border="0" cellpadding="0" cellspacing="0" class="mytable">
		    	 <tr class="fixedHeaderTr">
		    		<th width="10%">序列</th>
		    		<th width="15%">收件人</th>
		    		<th width="15%">所属单位</th>
		    		<th width="15%">所属部门</th>    		    		
		    		<th width="10%">是否已读</th>	
		    		<th width="15%">阅读时间</th>	 
		    		<s:if test="%{mail.isNote==1}">
		    			<th width="10%">短信发送状态</th>
		    		</s:if>   		
		    	</tr>
	    		<s:iterator value="mailUserList" id="oamail" status="x">
			    	<tr>
			    		<td align="center">${x.index+1+(page.num-1)*page.size}</td>			    		
			    		<td align="center">${oamail.addresseeId.userRealName}</td>			    		
			    		<td align="center">${oamail.addresseeId.tbUserUnit.deptName}</td>
			    		<td align="center">${oamail.addresseeId.tbUserDept.deptName}</td>
			    		<td align="center">${oamail.isRead==1?'<font color="green">已读</font>':'<font color="red">未读</font>' } </td>				    		
			    		<td align="center"><s:date name="#oamail.readTime" format="yyyy-MM-dd HH:mm"/></td>	
			    		<s:if test="%{mail.isNote==1}">
			    			<td align="center">${oamail.isNote==1?'<font color="green">已发送</font>':'<font color="red">未发送</font>'}</td>	
			    		</s:if>		    		
			    	</tr>
	    		</s:iterator>
		    </table>
		    <div class="btn_page">
		    	<input type="button" class="link_input" value="返 回" id="back" />
		    </div>
		    <div class="page">
		    	<jsp:include flush="true" page="../share/fenye.jsp">
				    <jsp:param name="url4page" value="/oa/mail_mailUserRead.action?str_num=${str_num }&str_size=${str_size }&str_num1=${str_num1}&str_size1=${str_size1 }&id=${id }&keyWord=${keyWord}&beginTime=${beginTime }&endTime=${endTime }" />
			    </jsp:include>
		    </div>		    
		</div>
	</div>
  </body>
</html>
